package com.glebusheg.client
{
	import com.bubbler.farm.social.NetworkManager;
	import com.ek.debug.Logger;
	
	
	/**
	 * @author eliasku
	 */
	public class ClientManager
	{
		// RPC AMF
		private static var _serverURL:String = null;
		
		public static function initialize(flashVars:Object, onLogin:Function):void
		{
			if(flashVars.hasOwnProperty("server_url")) _serverURL = flashVars["server_url"];
			
			if(onLogin!=null)
			{
				onLogin(true);
			}
		}

		static public function get serverURL():String
		{
			return _serverURL;
		}
	}
}
